<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>表单演示</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/my_form.css">
</head>
<body>

<form action="" name="" method="post">
    <fieldset>
        <legend>基本信息</legend>
        <lable>姓名 <input type="text" name="truename" id="truename"> </lable>
        <lable for="nickname">昵称</lable><input type="text" name="nickname" id="nickname">
        <lable for="password"></lable><input type="password" name="password" id="password">
        <lable for="female">女</lable><input type="radio" name="sex[]" id="female">
        <lable for="male">男</lable><input type="radio" name="sex[]" id="male">


    </fieldset>

    <fieldset>
        <legend>附加信息</legend>
        <lable>兴趣爱好
            <input type="checkbox" name="favorite[]" id="sport">运动
            <input type="checkbox" name="favorite[]" id="music">音乐
        </lable>
        <lable for="university">毕业学校
            <select name="university" id="university">
                <option value="tsinghua">北京大学</option>
                <option value="pku">清华大学</option>
                <option value="jju">九江大学</option>
            </select>

        </lable>

    </fieldset>

    <fieldset>
        <legend> 文件信息 </legend>
        <input type="file" name="upload" id="upload">
        <input type="hidden" name="user" value="zhangsan">
    </fieldset>

    <fieldset>
        <legend> 备注信息  </legend>
        <textarea name="note" id="" cols="30" rows="10"></textarea>

    </fieldset>
    <input type="submit" value="提交" ><input type="reset" value="重置">


</form>



</body>
</html>